package com.cn.kehong.domain;

import com.google.common.collect.ImmutableMap;

import java.util.Date;
import java.util.List;
import java.util.Map;

public class ProductGzPeriod {
    private String id;

    private String peiId;

    private String factoryName;

    private String productCode;

    private String chenpinGuanCode;

    private String startTime;

    private String endTime;

    private String spendTime;

    private String gzGuanCode;

    private String gzStatus;

    private String status;

    private Date createTime;

    private Date updateTime;

    private int count;

    private String chengStartTime;
    private String chengEndTime;
    private String chengGuanCode;

    private String startCode;

    private String enterYaol;
    private String gradeValue;

    //进风温度
    private String jinFenTemp;
    //排风温度
    private String paiFenTemp;
    //雾化器温度
    private String wuHuaTemp;
    //雾化器油压
    private String wuHuaPa;
    //水罐液位
    private String yeWei;
    //供料流量
    private String liuLiang;
    //雾化器转速
    private String zhuanSu;
    //送风机风速
    private String songFenJi;




    private List<ProductGzPeriodSl> productGzPeriodSls;

    public static final transient Map<String, String> STATUSMAP =
            ImmutableMap.of("0", "未开始", "1", "进行中", "2", "已完成");


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getPeiId() {
        return peiId;
    }

    public void setPeiId(String peiId) {
        this.peiId = peiId == null ? null : peiId.trim();
    }

    public String getFactoryName() {
        return factoryName;
    }

    public void setFactoryName(String factoryName) {
        this.factoryName = factoryName == null ? null : factoryName.trim();
    }

    public String getProductCode() {
        return productCode;
    }

    public void setProductCode(String productCode) {
        this.productCode = productCode == null ? null : productCode.trim();
    }

    public String getChenpinGuanCode() {
        return chenpinGuanCode;
    }

    public void setChenpinGuanCode(String chenpinGuanCode) {
        this.chenpinGuanCode = chenpinGuanCode == null ? null : chenpinGuanCode.trim();
    }

    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime == null ? null : startTime.trim();
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime == null ? null : endTime.trim();
    }

    public String getSpendTime() {
        return spendTime;
    }

    public void setSpendTime(String spendTime) {
        this.spendTime = spendTime == null ? null : spendTime.trim();
    }

    public String getGzGuanCode() {
        return gzGuanCode;
    }

    public void setGzGuanCode(String gzGuanCode) {
        this.gzGuanCode = gzGuanCode == null ? null : gzGuanCode.trim();
    }

    public String getGzStatusCn() {
        return STATUSMAP.get(getGzStatus());
    }
    public String getGzStatus() {
        return gzStatus;
    }

    public void setGzStatus(String gzStatus) {
        this.gzStatus = gzStatus == null ? null : gzStatus.trim();
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status == null ? null : status.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public List<ProductGzPeriodSl> getProductGzPeriodSls() {
        return productGzPeriodSls;
    }

    public void setProductGzPeriodSls(List<ProductGzPeriodSl> productGzPeriodSls) {
        this.productGzPeriodSls = productGzPeriodSls;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public String getChengStartTime() {
        return chengStartTime;
    }

    public void setChengStartTime(String chengStartTime) {
        this.chengStartTime = chengStartTime;
    }

    public String getChengEndTime() {
        return chengEndTime;
    }

    public void setChengEndTime(String chengEndTime) {
        this.chengEndTime = chengEndTime;
    }

    public String getChengGuanCode() {
        return chengGuanCode;
    }

    public void setChengGuanCode(String chengGuanCode) {
        this.chengGuanCode = chengGuanCode;
    }

    public String getEnterYaol() {
        return enterYaol;
    }

    public void setEnterYaol(String enterYaol) {
        this.enterYaol = enterYaol;
    }

    public String getStartCode() {
        return startCode;
    }

    public void setStartCode(String startCode) {
        this.startCode = startCode;
    }

    public String getGradeValue() {
        return gradeValue;
    }

    public void setGradeValue(String gradeValue) {
        this.gradeValue = gradeValue;
    }

    public String getJinFenTemp() {
        return jinFenTemp;
    }

    public void setJinFenTemp(String jinFenTemp) {
        this.jinFenTemp = jinFenTemp;
    }

    public String getPaiFenTemp() {
        return paiFenTemp;
    }

    public void setPaiFenTemp(String paiFenTemp) {
        this.paiFenTemp = paiFenTemp;
    }

    public String getWuHuaTemp() {
        return wuHuaTemp;
    }

    public void setWuHuaTemp(String wuHuaTemp) {
        this.wuHuaTemp = wuHuaTemp;
    }

    public String getWuHuaPa() {
        return wuHuaPa;
    }

    public void setWuHuaPa(String wuHuaPa) {
        this.wuHuaPa = wuHuaPa;
    }

    public String getYeWei() {
        return yeWei;
    }

    public void setYeWei(String yeWei) {
        this.yeWei = yeWei;
    }

    public String getLiuLiang() {
        return liuLiang;
    }

    public void setLiuLiang(String liuLiang) {
        this.liuLiang = liuLiang;
    }

    public String getZhuanSu() {
        return zhuanSu;
    }

    public void setZhuanSu(String zhuanSu) {
        this.zhuanSu = zhuanSu;
    }

    public String getSongFenJi() {
        return songFenJi;
    }

    public void setSongFenJi(String songFenJi) {
        this.songFenJi = songFenJi;
    }
}